package org.finesys.common.doc.properties;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;

@Getter
@Setter
@ConfigurationProperties(prefix = "fine.common.doc")
public class DocProperties {

    /**
     * 是否开启
     */
    private boolean enabled = true;

    /**
     * 标题
     */
    private String title = "开发文档";

    /**
     * 作者
     */
    private String author = "fine";

    /**
     * 描述
     */
    private String description = "描述";

    /**
     * 版本
     */
    private String version = "1.0-SNAPSHOT";

    /**
     * 网关地址
     */
    private String url = "http://fine-gateway:9999";

    /**
     * 启用oauth2安全认证
     */
    private boolean securityEnabled;
    /**
     * 获取token地址
     */
    private String tokenUrl;
    /**
     * 作用域
     */
    private String scope;

}
